package T;

import java.util.ArrayList;
import java.util.List;

public class ext {

}
class client{
    public static void main(String[] args) {
        List<? extends ext> list = www();
        List<? super ext> list1 = www();
        list1.add(new ext());

    }
    public static List<ext> www() {
        return new ArrayList<ext>() {{
            add(new ext());
            add(new ext());
        }};
    }
}
